//
//  YCPhotoViewController.m
//  PhotoViewer
//
//  Created by 唐可雄 on 17/2/12.
//  Copyright © 2017年 swustyc. All rights reserved.
//

#import "YCPhotoViewController.h"

#import "YCPhotoViewerModel.h"

@interface YCPhotoViewController ()

/**
 展示照片的控件
 */
@property (nonatomic, weak) IBOutlet UIImageView *imageView;

@end

@implementation YCPhotoViewController

#pragma mark - UIViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.title = [self.photo title];
    self.imageView.image = [self.photo image];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
